<?php if (!defined('THINK_PATH')) exit(); /*a:5:{s:59:"D:\www\fdc\public/../application/home\view\loupan\info.html";i:1493112696;s:61:"D:\www\fdc\public/../application/home\view\public\layout.html";i:1493431594;s:58:"D:\www\fdc\public/../application/home\view\loupan\nav.html";i:1493111716;s:60:"D:\www\fdc\public/../application/home\view\loupan\right.html";i:1493092144;s:61:"D:\www\fdc\public/../application/home\view\public\footer.html";i:1493803247;}*/ ?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/html">
<!-- manifest="cache.manifest" -->
<head>
    <meta charset="utf-8" />
    <title><?php echo $seo['title']; ?></title>
    <meta name="keywords" content="<?php echo $seo['keys']; ?>" />
    <meta name="description" content="<?php echo $seo['desc']; ?>" />
    <link type="text/css" rel="stylesheet"  href="__CSS__/format_dom.css"/>
    <link type="text/css" rel="stylesheet"  href="__CSS__/main.css"/>
    <!--[if lte IE 8]>
    <script src="__JS__/ie/html5shiv.js"></script>
    <![endif]-->
    <!--[if IE 6]>
    <script type="text/javascript" src="__JS__/DD_belatedPNG.js"></script>
    <script type="text/javascript">DD_belatedPNG.fix("*")</script>
    <![endif]-->
    <script src="__PUBLIC__/js/jquery.min.js"></script>
</head>
<body>
<div>
    <div class="top_line">
        <div class="main">
            <ul>
                <?php if(is_array($menu) || $menu instanceof \think\Collection || $menu instanceof \think\Paginator): $i = 0; $__LIST__ = $menu;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;if($vo['pos'] == 1): if(!(empty($vo['url']) || (($vo['url'] instanceof \think\Collection || $vo['url'] instanceof \think\Paginator ) && $vo['url']->isEmpty()))): $url = $vo['url']; else: if(!(empty($vo['alias']) || (($vo['alias'] instanceof \think\Collection || $vo['alias'] instanceof \think\Paginator ) && $vo['alias']->isEmpty()))): $url=url($vo['model'].'/detail',['cate'=>$vo['alias']]); else: $url=url($vo['model'].'/index'); endif; endif; ?>
                <li><a href="<?php echo $url; ?>" title="<?php echo $vo['title']; ?>" target="<?php echo $vo['open_type']; ?>" <?php if($vo['model'] == $controller): ?>class="on"<?php endif; ?>><?php echo $vo['title']; ?></a></li>
                <?php endif; endforeach; endif; else: echo "" ;endif; ?>
                <li><a href="<?php echo url('Agency/index'); ?>">经纪人</a></li>
            </ul>
            <?php if(empty($userInfo) || (($userInfo instanceof \think\Collection || $userInfo instanceof \think\Paginator ) && $userInfo->isEmpty())): ?>
            <span><a href="<?php echo url('user.login/index'); ?>" >登录</a></span>
            <span><a href="<?php echo url('user.login/reg'); ?>" >注册</a></span>
            <?php else: ?>
            <div style="float:right;color:#fff;"><em><?php echo $userInfo['nickname']; ?></em>,欢迎您的到来 <a href="<?php echo url('user.index/index'); ?>">会员中心</a> | <a href="<?php echo url('user.login/logout'); ?>">退出</a></div>
            <?php endif; ?>
        </div>
    </div>
    <div class="top_nav">
        <div class="top">
            <span class="logo"><img src="<?php echo $site['pcLogo']; ?>" width="80" height="64"></span>
            <div class="city city-box"><span class="city_span"></span><?php echo $cityInfo['name']; ?></div>
            <div class="city_box" id="CPM" style="display:none;">
                <div class="cities-con">
                    <p class="tit">选择城市 <a href="<?php echo url('Index/index@www'); ?>" class="gd_btn">更多城市</a></p>
                    <ul class="cities-opts clearfix">
                        <?php if(is_array($city) || $city instanceof \think\Collection || $city instanceof \think\Paginator): $i = 0; $__LIST__ = $city;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                        <li class="clearfix">
                            <em class="icons"><?php echo $key; ?></em>
                            <p>
                                <?php if(is_array($vo) || $vo instanceof \think\Collection || $vo instanceof \think\Paginator): $i = 0; $__LIST__ = $vo;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$val): $mod = ($i % 2 );++$i;?>
                                <a <?php if($val['is_hot'] == 1): ?>class="highlight"<?php endif; ?> href="<?php echo url('Index/index@'.$val['domain']); ?>"><?php echo $val['name']; ?></a>
                                <?php endforeach; endif; else: echo "" ;endif; ?>
                            </p>
                        </li>
                        <?php endforeach; endif; else: echo "" ;endif; ?>
                    </ul>
                    <i></i>
                </div>
                <a href="javascript:;" class="close_btn">×</a>
            </div>
            <div class="nav t_mar">
                <ul>
                    <?php if(is_array($menu) || $menu instanceof \think\Collection || $menu instanceof \think\Paginator): $i = 0; $__LIST__ = $menu;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;if($vo['pos'] == 1): if(!(empty($vo['url']) || (($vo['url'] instanceof \think\Collection || $vo['url'] instanceof \think\Paginator ) && $vo['url']->isEmpty()))): $url = $vo['url']; else: if(!(empty($vo['alias']) || (($vo['alias'] instanceof \think\Collection || $vo['alias'] instanceof \think\Paginator ) && $vo['alias']->isEmpty()))): $url=url($vo['model'].'/detail',['cate'=>$vo['alias']]); else: $url=url($vo['model'].'/index'); endif; endif; ?>
                    <li><a href="<?php echo $url; ?>" title="<?php echo $vo['title']; ?>" target="<?php echo $vo['open_type']; ?>" <?php if($vo['model'] == $controller): ?>class="on"<?php endif; ?>><?php echo $vo['title']; ?></a></li>
                    <?php endif; endforeach; endif; else: echo "" ;endif; ?>
                </ul>
            </div>
        </div>
    </div>
    
    <div class="h_l_s overflow_h">
        <form action="<?php echo url('Loupan/index'); ?>" method="get" id="search-form">
            <div class="h_l_s_box">
<span class="h_l_input">
<input name="keyword" type="text" class="h_l_i" id="keyword" placeholder="请输入楼盘名称">
<a href="javascript:;" class="but03" id="search-btn">搜索</a>
</span>
                <a href="<?php echo url('Map/index'); ?>" class="but04">地图找房</a>
            </div>
        </form>
    </div>
    
</div>

<div class="main m_t_15">
    <div class="position"><p>您当前的位置：<a href="<?php echo url('Index/index'); ?>" title="<?php echo $site['title']; ?>"><?php echo $site['title']; ?></a> &gt; <a
            href="<?php echo url('Loupan/index'); ?>">新房</a> &gt; <a href="<?php echo url('Loupan/detail',['id'=>$info['id']]); ?>" title="<?php echo $info['title']; ?>"><?php echo $info['title']; ?></a> &gt; 详细信息</p></div>
    <div class="m_t_15 overflow_h">
        <div class="n_h_n3_l">
            <div class="n_h_n3_t">
                <ul>
    <li><a href="<?php echo url('Loupan/detail',['id'=>$info['id']]); ?>" <?php if($action == 'detail'): ?>class="selected"<?php endif; ?> >楼盘主页</a></li>
    <li><a href="<?php echo url('Loupan/news',['house_id'=>$info['id']]); ?>" <?php if($action == 'news'): ?>class="selected"<?php endif; ?> >楼盘动态</a></li>
    <li><a href="<?php echo url('Loupan/type',['house_id'=>$info['id']]); ?>" <?php if($action == 'type' or $action == 'typeshow'): ?>class="selected"<?php endif; ?>>全部户型</a></li>
    <li><a href="<?php echo url('Loupan/pic',['house_id'=>$info['id']]); ?>" <?php if($action == 'pic'): ?>class="selected"<?php endif; ?>>楼盘相册</a></li>
    <li><a href="<?php echo url('Loupan/peitao',['house_id'=>$info['id']]); ?>" <?php if($action == 'peitao'): ?>class="selected"<?php endif; ?>>周边配套</a></li>
    <li><a href="<?php echo url('Loupan/info',['house_id'=>$info['id']]); ?>" <?php if($action == 'info'): ?>class="selected"<?php endif; ?>>楼盘信息</a></li>
    <li><a href="<?php echo url('Loupan/question',['house_id'=>$info['id']]); ?>" <?php if($action == 'question'): ?>class="selected"<?php endif; ?>>楼盘问答</a></li>
</ul>
<?php if($info['money'] > 0 and $site['hongbao'] == 1): ?>
<a href="javascript:;" id="linghongbao">
    <div class="hb-right">
        <p class="hb-p1">最高<strong><?php echo $info['money']; ?></strong>元</p>
        <p class="hb-p2">买新房 领红包 人人有份</p>
        <div class="detailPopClose"></div>
    </div>
</a>
<div class="red_shade" id="shade" style="display: none;">
    <div class="hongb red_common_width">
        <div class="red_price red_common_position"><?php echo $info['money']; ?></div>
        <div class="red_title red_common_width red_common_position"><?php echo $info['title']; ?></div>
        <a class="red_close" href="javascript:;" onclick="$('#shade').hide();" id="m_close"></a>
        <form id="hongbao_submit" method="post" action="<?php echo url('Ajax/addOrder'); ?>" name="formphp">
            <div class="red_form red_common_position">
                <p>请填写正确的信息领取优惠</p>
                <input id="red_name" name="name" placeholder="请输入姓名" type="text">
                <input id="red_phone" name="phone" placeholder="请输入手机号" type="text">
                <input type="hidden" name="type" value="5">
                <input type="hidden" name="house_id" value="<?php echo $info['id']; ?>">
                <input type="hidden" name="model" value="house">
                <input type="hidden" name="money" value="<?php echo $info['money']; ?>">
                <!--input style="width:100px;border-right:none;" id="red_code" placeholder="请输入验证码" type="text"><input id="btnSendCode" style="width:50px;cursor:pointer;color:#000;height:30px;box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) inset;transition: all 0.2s ease-out 0s;" value="获取" type="button"-->
            </div>
            <a class="red_btn red_common_width red_common_position" id="add_red" href="javascript:;"><img src="__IMG__/submit_btn.png"></a>
        </form>
    </div>
</div>
<?php endif; ?>
<script src="__PUBLIC__/js/plugins/jquery.ajax.form.js"></script>

<script>
    $(function(){
        $('.detailPopClose').bind('click',function(e){
            $(this).parent().hide();
            e.stopPropagation();
        });
        $('#linghongbao').bind('click',function(){
            $('#shade').show();
        });
        $('#add_red').bind('click',function(){
            var name = $('#red_name').val(),phone = $('#red_phone').val(),reg = /1[34578][0-9]{9}$/;
            if(name.length == 0){
                layer.msg('请填写您的姓名',{icon:2});
                return false;
            }
            if(!reg.test(phone)){
                layer.msg('请填写正确的手机号码',{icon:2});
                return false;
            }
            layer.load(1);
            $('#hongbao_submit').submit();
        });
        $('.J_dialog').bind('click',function(){
            var url = $(this).data('uri');
            layer.open({
                type: 2,
                title: false,
                area: ['500px', '400px'],
                shade: 0,
                closeBtn: 1,
                shadeClose: true,
                content:url
            });
        });
        $('#hongbao_submit').ajaxForm({success:complate,dataType:'json'});
        function complate(result){
            if(result.status == 1){
                layer.closeAll();
                layer.msg(result.msg,{icon:1});
                setTimeout(function(){$('#shade').hide();},3000);
                $('input[name="name"]').val('');
                $('input[name="phone"]').val('');
            } else {
                layer.msg(result.msg,{icon:2});
            }
        }
    })
</script>
            </div>

            <div class="news_h_box">
                <div class="m_t_15">
                    <div class="title03">楼盘介绍</div>
                    <div class="news_h_box04_i">
                        <?php echo $info['info']; ?>
                    </div>
                </div>
                <div class="m_t_15">
                    <div class="title03">楼盘信息</div>
                    <div class="news_h_box05">
                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                            <tr>
                                <th width="23%">开盘时间</th>
                                <td width="77%"><?php echo $info['open_time']; ?></td>
                            </tr>
                            <tr>
                                <th>交房时间</th>
                                <td><?php echo $info['complate_time']; ?></td>
                            </tr>
                            <tr>
                                <th>楼盘地址</th>
                                <td><?php echo $info['address']; ?></td>
                            </tr>
                            <tr>
                                <th>售楼处地址</th>
                                <td><?php echo $info['sale_address']; ?></td>
                            </tr>
                            <tr>
                                <th>占地面积</th>
                                <td><?php echo $info['attr']['hxmj']; ?></td>
                            </tr>
                            <tr>
                                <th>建筑面积</th>
                                <td><?php echo $info['attr']['jzmj']; ?></td>
                            </tr>
                            <tr>
                                <th>开发商</th>
                                <td><?php echo $info['attr']['kfs']; ?></td>
                            </tr>
                            <tr>
                                <th>容积率</th>
                                <td><?php echo $info['attr']['rjl']; ?></td>
                            </tr>
                            <tr>
                                <th>绿化率</th>
                                <td><?php echo $info['attr']['lhl']; ?></td>
                            </tr>
                            <tr>
                                <th>规划户数</th>
                                <td><?php echo $info['attr']['hushu']; ?></td>
                            </tr>
                            <tr>
                                <th>车位数</th>
                                <td><?php echo $info['attr']['chewei']; ?></td>
                            </tr>
                            <tr>
                                <th>楼盘朝向</th>
                                <td><?php echo $info['attr']['loupanzhaoxiang']; ?></td>
                            </tr>
                            <tr>
                                <th>产权年限</th>
                                <td><?php echo $info['attr']['jzlb']; ?> <?php echo $info['attr']['chanquan']; ?></td>
                            </tr>
                            <tr>
                                <th>装修情况</th>
                                <td><?php echo $info['attr']['zxqk']; ?></td>
                            </tr>

                            <tr>
                                <th>物业公司</th>
                                <td><?php if(empty($info['attr']['wygs']) || (($info['attr']['wygs'] instanceof \think\Collection || $info['attr']['wygs'] instanceof \think\Paginator ) && $info['attr']['wygs']->isEmpty())): ?>暂无资料<?php else: ?><?php echo $info['attr']['wygs']; endif; ?></td>
                            </tr>
                            <tr>
                                <th>物业费</th>
                                <td><?php echo $info['attr']['wuyefee']; ?></td>
                            </tr>
                            <tr>
                                <th>预售证</th>
                                <td><?php echo $info['yushou']; ?></td>
                            </tr>
                            <tr>
                                <th>建筑设计单位</th>
                                <td><?php if(empty($info['attr']['shejidanwei']) || (($info['attr']['shejidanwei'] instanceof \think\Collection || $info['attr']['shejidanwei'] instanceof \think\Paginator ) && $info['attr']['shejidanwei']->isEmpty())): ?>暂无资料<?php else: ?><?php echo $info['attr']['shejidanwei']; endif; ?></td>
                            </tr>
                        </table>
                    </div>
                </div>
                <?php if(!(empty($property_pic) || (($property_pic instanceof \think\Collection || $property_pic instanceof \think\Paginator ) && $property_pic->isEmpty()))): ?>
                <link rel="stylesheet" href="__CSS__/shapan.css">
                <div class=" m_t_15">
                    <div class="title03">楼栋信息</div>
                    <div class="news_h_box03" id="shapan">
                        <div id="shapan-i">
                            <img id="MapImages" src="<?php echo $property_pic['img']; ?>" />
                            <?php if(is_array($property_pic['data']) || $property_pic['data'] instanceof \think\Collection || $property_pic['data'] instanceof \think\Paginator): $i = 0; $__LIST__ = $property_pic['data'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;$point=explode(',',$vo['point']); ?>
                            <a href="javascript:;" data-position="<?php echo $vo['point']; ?>" data-bid="<?php echo $vo['id']; ?>" class="sha-dot sha-dot-<?php echo $vo['sale']; ?>" title="<?php echo $vo['title']; ?>" style="left: <?php echo $point[0]; ?>px; top: <?php echo $point[1]; ?>px;"><i></i><?php echo $vo['title']; ?></a>
                            <?php endforeach; endif; else: echo "" ;endif; ?>
                        </div>

                    </div>
                </div>
                <?php endif; ?>
            </div>

        </div>
        <div class="house_r">
            <div class="title01">推荐楼盘</div>
            <div class="n_h_s_right">
                <?php $cityId=$cityInfo['id']; $obj = model("position");$obj->where("status=1 and cate_id=3 and city=$cityId");$obj->field("house_id,img,title,data");$obj->order("ordid asc,id desc");$name = $obj->limit(10)->select();if(is_array( $name ) || $name  instanceof \think\Paginator): $i = 0; $__LIST__ = $name;if( count($__LIST__)==0 ) : echo "暂无数据" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
<dl>
    <dt><a href="<?php echo url('Loupan/detail',['id'=>$vo['house_id']]); ?>" title="<?php echo $vo['title']; ?>"><img alt="<?php echo $vo['title']; ?>" src="<?php echo $vo['img']; ?>" width="293" height="218"></a></dt>
    <dd><i><a href="<?php echo url('Loupan/detail',['id'=>$vo['house_id']]); ?>">[<?php echo $vo['data']['city_name']; ?><?php echo $vo['data']['area_name']; ?>]<?php echo $vo['data']['address']; ?></a></i></dd>
    <dd class="org"><?php echo $vo['data']['average_price']; ?>元/平米</dd>
    <?php if(!(empty($vo['data']['youhui']) || (($vo['data']['youhui'] instanceof \think\Collection || $vo['data']['youhui'] instanceof \think\Paginator ) && $vo['data']['youhui']->isEmpty()))): ?><dd><span class="fan">惠</span><span class="org"><?php echo $vo['data']['youhui']; ?></span></dd><?php endif; ?>
</dl>
<?php endforeach; endif; else: echo "暂无数据" ;endif; ?>
            </div>
        </div>
    </div>



</div>
<script src="__PUBLIC__/js/plugins/jqmodal.js"></script>
<script>
    $(function(){
        $('#shapan-i').jqDrag({
            attachment:'#shapan'
        });
    });
</script>

<div class="footer clearfix">
    <div class="main">
        <div class="footer_n1">
            <span>服务热线：<?php echo $site['telphone']; ?></span>
            <ul>
                <?php if(is_array($menu) || $menu instanceof \think\Collection || $menu instanceof \think\Paginator): $i = 0; $__LIST__ = $menu;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;if($vo['pos'] == 2): if(!(empty($vo['url']) || (($vo['url'] instanceof \think\Collection || $vo['url'] instanceof \think\Paginator ) && $vo['url']->isEmpty()))): $url = $vo['url']; else: if(!(empty($vo['alias']) || (($vo['alias'] instanceof \think\Collection || $vo['alias'] instanceof \think\Paginator ) && $vo['alias']->isEmpty()))): $url=url($vo['model'].'/detail',['cate'=>$vo['alias']]); else: $url=url($vo['model'].'/index'); endif; endif; ?>
                <li><a target="<?php echo $vo['open_type']; ?>" href="<?php echo $url; ?>"><?php echo $vo['title']; ?></a> </li>
                <?php endif; endforeach; endif; else: echo "" ;endif; ?>
            </ul>
        </div>
        <div class="footer_n2 overflow_h">
            <div class="tab02 overflow_h">
                <ul class="idTabs" id="recmond-tab">
                    <li><a href="javascript:;" class="selected"><?php echo $cityInfo['name']; ?>新房推荐</a></li>
                    <li><a href="javascript:;"><?php echo $cityInfo['name']; ?>二手房推荐</a></li>
                    <li><a href="javascript:;">友情链接</a></li>
                </ul>
            </div>
            <div id="recmond-box">
            <div class="f_n3" id="second01">
                <ul>
                    <?php if(is_array($area) || $area instanceof \think\Collection || $area instanceof \think\Paginator): $i = 0; $__LIST__ = $area;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                    <li><a href="<?php echo url('Loupan/index',['area'=>$vo['id']]); ?>" title="<?php echo $vo['name']; ?>"><?php echo $vo['name']; ?>新房</a></li>
                    <?php endforeach; endif; else: echo "" ;endif; ?>
                </ul>
            </div>
            <div class="f_n3" id="second03" style="display:none">
                <ul>
                    <?php if(is_array($area) || $area instanceof \think\Collection || $area instanceof \think\Paginator): $i = 0; $__LIST__ = $area;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                    <li><a href="<?php echo url('Second/index',['area'=>$vo['id']]); ?>" title="<?php echo $vo['name']; ?>"><?php echo $vo['name']; ?>二手房</a></li>
                    <?php endforeach; endif; else: echo "" ;endif; ?>
                </ul>
            </div>
            <div class="f_n3" id="second04" style="display:none">
                <ul>
                    <?php $obj = model("link");$obj->where("status=1");$obj->field("name,url");$obj->order("ordid asc,id desc");$name = $obj->limit(50)->select();if(is_array( $name ) || $name  instanceof \think\Paginator): $i = 0; $__LIST__ = $name;if( count($__LIST__)==0 ) : echo "暂无数据" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                    <li><a href="<?php echo $vo['url']; ?>" title="<?php echo $vo['name']; ?>" target="_blank"><?php echo $vo['name']; ?></a></li>
                    <?php endforeach; endif; else: echo "暂无数据" ;endif; ?>
                </ul>
            </div>
            </div>
        </div>
        <div class="footer_n3 clearfix">
            <div class="footer_n3_1">
                <p>Copyright © <?php echo date("Y"); ?> <?php echo config('url_domain_root'); ?>. All Rights Reserved ICP备案号：<?php echo $site['icp']; ?></p>
                <p>公司名称：<?php echo $site['companyname']; ?></p>
            </div>
            <div class="footer_n3_2" >
                <ul>
                    <li>
                        <span><img src="<?php echo $site['weixin_pic']; ?>" width="90" height="90"></span>
                        <p>关注<?php echo $site['title']; ?>微信</p>
                    </li>
                </ul>
            </div>
        </div>

    </div>
</div>
<?php echo $site['countcode']; ?>
<script src="__PUBLIC__/js/plugins/jquery.lazyload.js"></script>
<script>
    $(function(){
        $("img.lazy").lazyload({
            threshold : 100,
            effect : "fadeIn"
        });
        $('.city-box').bind('click',function(){
            $('#CPM').toggle();
        });
        $('.close_btn').bind('click',function(){
            $('#CPM').hide();
        });
        $("#recmond-tab li").bind('click',function(){
            var index = $(this).index();
            $(this).find('a').addClass('selected').parent().siblings().find('a').removeClass('selected');
            $("#recmond-box").children().eq(index).show().siblings().hide();
        });
    });
</script>
<script src="__PUBLIC__/js/layer/layer.js"></script>
<script>
    $(function(){
        $('#search-btn').bind('click',function(){
            var keyword = $('#keyword').val();
            if(keyword.length==0){
                layer.msg('请填写楼盘关键词',{icon:2});
                return false;
            }
            $('#search-form').submit();
        });
    });
</script>
</body>
</html>
